package ControlLayer;



import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

/**
 * The test class DVDContainer.
 *
 * @author  (your name)
 * @version (a version number or a date)
 */
public class DVDContainer
{
    private ControlLayer.DVDCtr dVDCtr1;

    

    

    /**
     * Default constructor for test class DVDContainer
     */
    public DVDContainer()
    {
    }

    /**
     * Sets up the test fixture.
     *
     * Called before every test case method.
     */
    @Before
    public void setUp()
    {
        dVDCtr1 = new ControlLayer.DVDCtr();
        dVDCtr1 = new ControlLayer.DVDCtr();
        dVDCtr1.createDVD(123, "123", "123", 15.09);
        dVDCtr1.createDVD(124, "124", "124", 22.09);
        dVDCtr1.listAllDvds();
        dVDCtr1.listAllCopies();
        dVDCtr1.createCopy(123, 222, 22.09, 55);
        dVDCtr1.listAllCopies();
        dVDCtr1.findDVD(234);
        dVDCtr1.listAllDvds();
        dVDCtr1.findDVD(124);
        dVDCtr1.getDVD(1);
        dVDCtr1.deleteDVD(124);
        dVDCtr1.listAllDvds();
        dVDCtr1.createDVD(125, "125", "125", 17.09);
    }

    /**
     * Tears down the test fixture.
     *
     * Called after every test case method.
     */
    @After
    public void tearDown()
    {
    }
}
